import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import '@/styles/element-variables.scss';
import './assets/css/font.css'//字体图库
import '@/styles/index.scss' // global css
Vue.use(ElementUI);
import '@/permission' //路由跳转进度
import VCharts from 'v-charts'
Vue.use(VCharts)
import imageViewer from '@/components/imageViewer/imageViewer'; //图片查看
Vue.component('imageViewer',imageViewer)
import '@/utils/dialogDrag.js'

//vue的全局变量
import Global_ from '@/utils/request.js'
Vue.prototype.GLOBAL = Global_;
Vue.config.productionTip = false
import camelToSnakeCase from '@/utils/function/camelToSnakeCase.js'
import test from '@/utils/function/test.js'
import guid from '@/utils/function/guid.js'
let $lizhao={
	camelToSnakeCase,
	test,
	guid
}
Vue.prototype.$lizhao = $lizhao;


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
